package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dtos.ResponseResult;
import com.heima.model.wemeida.dtos.WmLoginDto;
import com.heima.model.wemeida.dtos.WmMaterialDto;
import com.heima.model.wemeida.pojos.WmMaterial;
import com.heima.model.wemeida.pojos.WmUser;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface WmMaterialService extends IService<WmMaterial> {
    ResponseResult<WmMaterial> uploadPicture(MultipartFile multipartFile);

    ResponseResult<List<WmMaterial>> findList(WmMaterialDto dto);

    ResponseResult updateCollect(Integer id, int i);

    ResponseResult delPicture(Integer id);
}
